﻿Public Class ThamSo_DAO

#Region "Laod bảng tham số"
    Public Shared Function LoadThamSo() As DataTable
        Dim sql As String = "select * from ThamSo"
        Return DataProvider.ExcuteReader(sql)
    End Function
#End Region

#Region "Sửa giá trị tham số"
    Public Shared Function SuaThamSo(ByVal tenthamso As String, ByVal giatri As Double) As Integer
        Dim sql As String = String.Format("update ThamSo set {0} = {1}", tenthamso, giatri)
        Return DataProvider.ExcuteNonQuery(sql)
    End Function
#End Region

End Class
